package com.kdtech.entity.data;

import com.kdtech.utils.DateUtils;


/**
 * 平媒实体类
 *
 * @author Persh
 *
 */
public class NewsPaperMeta extends AbstractMeta{

	@Override
	public String toString() {
		return "NewsPaperMeta :\r\n" +
		"url="+this.getUrl()+"\r\n"+
		"updateUrl="+this.getUpdateUrl()+"\r\n"+
		"title="+this.getTitle()+"\r\n"+
		"date=" + (this.getDate()==null?"":DateUtils.format(this.getDate(), "yyyy-MM-dd HH:mm")) + "\r\n" +
		"author=" + getAuthor()+ "\r\n"+
		"content=" + getContent() + "\r\n";

	}

}
